home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Arsenal Files 6
/
The Arsenal Files 6 (Arsenal Computer).ISO
/
telecom
/
inetm11.zip
/
INET_MAC.DOC
< prev
next >
Wrap
Text File
|
1996-02-19
|
38KB
|
887 lines
INTERNET IN A MACRo
VERSION 1.1
BY J.J. MEDDAUGH AND JEFF BISHOP
COPYRIGHT 1996
TABLE OF CONTENTS
INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Obtainging the Source . . . . . . . . . . . . . . . . . . . . . . . . . 1
Warranty . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
FILES IN THIS ARCHIVE . . . . . . . . . . . . . . . . . . . . . . . . . 2
Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
STARTING INET_mac . . . . . . . . . . . . 2
About Menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Menu Shortcuts . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
The Online Help System . . . . . . . . . . . . . . . . . . . . . . . . 3
Jump to Item . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
THE LOG FILe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Error Boxes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
The Main Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
The Site Menu . . . . . . . . . . . . . 4
THE MANUAL ENTRY MENU . . . . . . . . . . . 4
THE EDIT SITES MENU . . . . . . . . . . . . 4
Searching for a Site . . . . . . . . . . . . . . . . . . . . . . . 5
Site Statistics . . . . . . . . . . . . . . . . . . . . . . . . . 5
Using External Macros . . . . . . . . . . . . . . . . . . . . . . 5
THE UNIX FILE COMMANDS MENu . . . . . . . . . . . . . . . . . . . . . . 6
LIST FILES . . . . . . . . . . . . . . 6
DELETE A FILE . . . . . . . . . . . . . 6
DOWNLOAD A FILE . . . . . . . . . . . . . 6
UPLOAD A FILE . . . . . . . . . . . . . 6
Mail Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Sending Mail . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Mail Yourself . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Address Book . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Distributing a Message . . . . . . . . . . . . . . . . . . . . . . 8
Fingering a User . . . . . . . . . . . . . . . . . . . . . . . . . 8
Sending a Bug Report . . . . . . . . . . . . . . . . . . . . . . . 8
The IRC Menu . . . . . . . . . . . . . 8
Efnet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Undernet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Other IRC NETWORKS . . . . . . . . . . . . . . . . . . . . . . . . 9
The Configuration Menu . . . . . . . . . . . . . . . . . . . . . . . . 9
General Config . . . . . . . . . . . . . . . . . . . . . . . . . . 9
System Prompt . . . . . . . . . . . . . . . . . . . . . . . . 9
Email Address . . . . . . . . . . . . . . . . . . . . . . . . 9
FTP Command-line . . . . . . . . . . . . . . . . . . . . . . 10
File Config . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Signature File . . . . . . . . . . . . . . . . . . . . . . . 10
Site List File . . . . . . . . . . . . . . . . . . . . . . . 10
Message File . . . . . . . . . . . . . . . . . . . . . . . . 10
Email Alias File . . . . . . . . . . . . . . . . . . . . . . 10
Log File . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Distribution List . . . . . . . . . . . . . . . . . . . . . . 10
Tagline File . . . . . . . . . . . . . . . . . . . . . . . . 11
Inet_mac Directory . . . . . . . . . . . . . . . . . . . . . 11
External Macro Config . . . . . . . . . . . . . . . . . . . . . . 11
External Macro for FTP . . . . . . . . . . . . . . . . . . . 11
External Macro for Gopher . . . . . . . . . . . . . . . . . . 11
External Macro for Rlogin . . . . . . . . . . . . . . . . . . 11
External Macro for Telnet . . . . . . . . . . . . . . . . . . 11
External Macro for WWW . . . . . . . . . . . . . . . . . . . 11
Appendix A: Using Variables in Support Files . . . . . . . . . . . . . 12
Appendix B: Menu Shortcuts . . . . . . . . . . . . . . . . . . . . . . 13
OBTAINING NEW VERSIONS OF INET_mac . . . . . . . . . . . . . . . . . . 14
Thanks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Support . . . . . . . . . . . . . . . 14
INTRODUCTION
Internet in a Macro was designed to make the Internet more enjoyable and
easier to use. It includes a myriad of features that allow you to do
virtually anything on the information superhighway. The following features
are included:
* Supports Ftp, Gopher, Rlogin, Telnet, and WWW
* Unlimited menu-Driven Site Database with submenus and search capability
* Built-in menu editing capabilities
* Automatically connect to IRC using nickname and go directly to channel
* Emailing of prewritten letters with built-in address book and alias
support
* Online email address book manager
* Appending of random tagline to message
* Unlimited bulk mail capability
* Finger capability using address book
* Online help using Cmhelp
* All configuration items can be changed from menus
* Keeps log file of what you did
* Built-in vt102 keyboard assignments
Obtainging the Source
Due to security reasons, the source code of this program is not available
publicly. However, some of the subroutines used in this and other macros
that I've written are in the file Macro Subroutines Volume 1. You may
obtain this file from various places. See the end of this manual for
information on where to get Commo macros.
Warranty
The author OF THIS PROGRAM, Jason J. Meddaugh, DISCLAIMS ALL WARRANTIES,
EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH
REGARD TO THE SOFTWARE and THE ACCOMPANYING WRITTEN MATERIALS. IN NO
EVENT SHALL THE AUTHOR BE LIABLE TO YOU FOR ANY CONSEQUENTIAL,
SPECIAL, INCIDENTAL OR INDIRECT DAMAGES OF ANY KIND ARISING OUT OF THE
USE OF THE SOFTWARE, EVEN IF THE AUTHOR HAS BEEN SPECIFICALLY ADVISED OF
THE POSSIBILITY OF SUCH DAMAGES. IN NO EVENT WILL THE AUTHOR'S LIABILITY
EXCEED THE ACTUAL PRICE PAID FOR THE LICENSE TO USE THE SOFTWARE. YOUR USE
OF THIS PROGRAM CONSTITUTES YOUR ACCEPTANCE OF THESE TERMS.
Internet in a Macro 1.0 by J.j. Meddaugh and Jeff Bishop Page 2
FILES IN THIS ARCHIVE
These files should of been included in the Inet_mac archive. If one or
more of these files is missing or tampered with, please get a new copy. If
you downloaded a faulty or hacked copy from somewhere, please let me know.
Filename.ext Description
---------------------------------------------------------------------------
inetinst.bat Batch file to start installation macro
inetinst.ccm Installation macro
inet_mac.ala Email alias file
inet_mac.ccm The macro itself
inet_mac.dis Sample distribution list file
inet_mac.his History file
inet_mac.hlp Online help file
inet_mac.idx Help index for Cmhelp
inet_mac.sig Signature file
inet_mac.sit Internet site list
inet_mac.tag Tagline file
inet_mac.txt This file
inet_sit.mac Sample macros for sites
Installation
The easiest way to install Internet in a Macro is to run the included
installation program. Make sure that that the program files are in the
Commo directory and then type
inetinst
You will be asked whether or not you want to install Inet_mac. If you
choose to do so, you are asked for a keylabel to use. The installation
program will add a line to Commo.mac that will let you start the program
from the terminal screen. The default key is Alt-F2 and if you hit return
at this prompt, this will be used. Refer to commo.doc for a list of other
key labels. If you pick one that is already used, you are asked to confirm
that you really want to use this label. If you get this message, you
should probably select no and pick another label. Once you have picked a
key label, the program will add a line to commo.mac and the installation is
complete.
Advanced users might prefer to edit their commo.mac file manually. To do
this, add a line similar to this in your commo.mac file
{:af2} {goto start,inet_mac.ccm}
This will cause Alt-F2 to become a hotkey for starting Inet_mac. You can
use any key you wish for starting the program by changing the key label in
the macro. See commo.doc for a listing of valid key labels.
STARTING INET_mac
Internet in a Macro 1.0 by J.j. Meddaugh and Jeff Bishop Page 3
To start Inet_mac from the terminal screen, press the key that you
selected as a hotkey in the installation and you're off and running.
About Menus
Internet in a Macro runs almost exclusively through menus. When you are
at a menu, you may hit escape to go back to the previous menu or exit if
you are at the main menu. Also, F1 will give you online help at any menu.
Select a menu item by pressing its corresponding letter. Do not press
return after selecting an option from a menu.
Menu Shortcuts
Notice that when you are at the main menu, a shortcut key is shown next
to each option. If the macro is loaded into memory, you may go directly to
a submenu from the terminal screen by simply pressing its corresponding
shortcut key. See appendix B for a list of Inet_mac shortcut keys.
The Online Help System
You may get online help from any menu by pressing F1. When you are in
the help window, press return or space to advance a pag and B to go back a
page. You can press T and the topic code to go to another help topic. H
gives you the command summary for the help system. The number 0 jumps to
the beginning of the file. Escape exits help. The help system uses
Cmhelp, which is another macro that I have written. See my list of other
Commo macros at the end of this manual.
Jump to Item
From any menu, you may hit Z to jump to any other part of the program.
You may jump to the site menu, the address book, or any configuration
option, for example. You are prompted for the name of the place to go.
Hit return here for a list of menus and options and the keywords to go
there, or type in a keyword and hit return. Hit escape to cancel and
return to the current menu.
THE LOG FILe
Inet_mac will, if instructed to do so, keep a log file of your
activities. The name of the log file can be changed in the configuration
menu, discussed later in this manual. Each line in the file looks like
this:
Date, Time: Event
Events that are logged include a successful connection or an error
connecting to a site, an IRC connection, or a sent mail message.
Error Boxes
Several options in Inet_mac will bring up error boxes if the action was
Internet in a Macro 1.0 by J.j. Meddaugh and Jeff Bishop Page 4
unsuccessful. These include an unsuccessful connection to a site. You
will be given a detailed description of the error. To close an error box,
press return, escape, or C.
The Main Menu
The main menu allows you to access the various parts of the program.
These parts ard discussed in detail in the following sections.
The Site Menu
The site menu is where you can access the Internet through FTP, Gopher,
Rlogin, Telnet, and the World Wide Web. The main site menu and any
submenus you may have will all appear the same on the screen. The data is
read from the site file. When you first enter the site menu, the program
will search for a label in the site file called [main]. The first 18 sites
from the current menu are read and presented on the screen. Any additional
sites are ignored. The bottom part of the screen shows the choices that
are valid at all menus.
Sites are lettered A through V on the screen (some letters are skipped
because they are used for other options explained below). To select a
site, press the corresponding letter. Inet_mac will then try to connect to
the site selected. If you selected a menu, it will be displayed in the
same manner. Escape will cancel connecting to a site or return you to the
previous site menu or the main menu.
If no sites are found in the file for a menu, a message will appear where
the menu normally would advising you that there are no sites for the
current menu and tell you how to add some.
If you select the M option from any site menu, you will be put in the
manual entry menu. Alternatively, E will allow you to edit the various
site menus or return you to the previous site menu if you are in a
submenu. If you want to connect to a site but don't remember which menu it
is on, select S to search for it.
THE MANUAL ENTRY MENU
This menu allows you to go to an Internet site by manually entering its
address. Select the type of site from the menu, FTP, Gopher, Rlogin,
Telnet, or WWW. The macro will ask you for the site's address. Type in
the address you wish to go to and hit return. It will atempt to connect
you to the site. NOte that for WWW sites, you do not have to include the
http:// part of the address. If you don't, it will be automatically be
added.
THE EDIT SITES MENU
This is where you can edit Inet_mac's site menus. D displays the raw
contents of the site file using the built-in file viewer. E will let you
edit the raw site list file. This is only recommended for advanced users.
A for add and R for remove will, as implied, let you add or remove menu
choices. When adding a choice, you will be asked for the menu that you
want to add the choice to. The current menu is the default and can be
Internet in a Macro 1.0 by J.j. Meddaugh and Jeff Bishop Page 5
selected by pressing return. You can also enter another menu. Then you
will be asked for the site type. Enter the letter for the type you want.
You will then be asked for the site's address and the site name. Enter
these and hit return. The choice will be added. If you selected menu for
the site type, you will be asked for the menu label. Make it short and
easy to remember. Then you are asked for the menu name which is shown on
the sites menu. This is the descriptive name for the menu.
When removing a site, you are simply asked for its name. It will be
searched for, and then you will be asked if you are sure you want to remove
it. Press Y or N. If you choose yes, the site will be removed. Either
way, you will be returned to the edit sites menu.
The S and I options work similarly. Pressing S will let you import an
address for a site that is on the screen and I will let you search a file
for addresses. If you hit I, you are asked for the name of the file that
you want to search. Presuming it exists, you are then shown possible site
addresses that are found in the file. The S option does the same thing
skipping the filename prompt. Inet_mac will try to determine the type of
site but many times it is impossible. It if can, it will tell you. Either
way, you are prompted whether or not to add the site. If you decide to add
it, you are prompted for the menu to add the site, the site type if it
couldn't be determined, and the name of the site. Either way, Inet_mac
will continue searching for more sites until the end of the file or the
bottom of the screen was reached. You are then returned to the edit sites
menu.
Searching for a Site
The S option on the site menu will let you directly go to a site by
entering a partial address or name. You are prompted for the string to
search for. Enter enough of the address or name to distinguish it from
other sites and press return. You are then shown sites that match your
search string and asked if you want to connect to them. Select yes to go
to the site and exit the program or no to search for more matches. If no
sites were found or no more matches could be found, an error message will
appear.
Site Statistics
THe T option from the site menu will cause the program to generate some
useful and novelty statistics about the site file and the current menu
including the name of the menu and how many options are on it. Press any
key from this screen to return to the current site menu.
Using External Macros
Internet in a Macro allows the use of external macros when connecting to
a site through the site menu. You can define a different macro label/file
to go to for each type of site, FTP, Gopher, Rlogin, Telnet, and WWW.
These can be set or changed in the external macro configuration menu.
When you connect to a site with an external macro defined for it, it is
run. If you provide Inet_mac with an invalid label or macro file, an error
box will display.
Internet in a Macro 1.0 by J.j. Meddaugh and Jeff Bishop Page 6
When the macro is run, several variables will be set for your use
including %addr, the site's address. This variable allows you to use
different macros for different sites.
This example will change to the Commo directory at ordata.com if that
site is selected or terminate if another site was selected.
{:ftp}
{comp addr,ordata.com} {ifco ordata}
Check to see if connecting to ordata.com, if true, go to the Ordata macro
{return}
If not, end; note that you could check for other sites in the same way
{:ordata}
The Ordata macro
{look ftp>} {send cd/pub/msdos/comm/COMMO]
Look for the prompt and change to the Commo directory
{return}
Return control back to Inet_mac and exit
It is important to use {return} instead of {stop} to end an external
macro.
THE UNIX FILE COMMANDS MENu
This menu allows you to perform some of the basic Unix file operations,
i.e. your files in your Unix directory on your account. You can list and
delete files as well as download and upload files to and from your local
hard drive.
LIST FILES
the L option will list the files in the current directory. All files are
listed, and the program will exit after you select this choice.
DELETE A FILE
This command will let you permanently remove a file or group of files.
You are asked for the name of the file you wish to delete. Use with
caution.
DOWNLOAD A FILE
This command, selected by pressing S, will let you download a file or
group of files. After selecting this option, you are asked for the
filename you wish to download. A Zmodem download will be initiated
automatically and you will be returned to the Unix file commands menu. If
the filename you entered could not be found, you will be notified and be
returned to the menu. If an error occurs during a file transfer, you will
be notified and returned to the menu.
UPLOAD A FILE
This command, selected by pushing R on the Unix file menu, performs the
Internet in a Macro 1.0 by J.j. Meddaugh and Jeff Bishop Page 7
exact opposite action of the download command. It will upload a file or
group of files from your hard driv to your account. You are once again
prompted for a filename and will be notified if it does not exist. You
will then be returned to the Unix file menu. If an error occurs during a
file transfer, you will be informed and returned to the menu.
Mail Functions
Inet_mac offers the user a host of mail functions including sending
prewritten messages, an address book, and a distribution list. These can
be accessed from the mail menu or M from the main menu.
Sending Mail
The S option from the mail menu will let you send a mail message to
someone on the Internet. You are first prompted for the address of the
person. Enter in any valid email address or an email alias (discussed
below). If the address is valid, you are asked for a file to include as
your message. If you do not specify a file, you are allowed to edit the
message manually using Commo's built-in editor or an external editor if you
have one defined in your commo.set file. Finally, you are asked for the
subject of your message. You may leave this field blank, though it is not
recommended.
If you are sending a prewritten letter, after you enter the subject, the
letter will be sent. If you have Confirm Tagline set to yes in the Toggles
Config (see below), you are shown a tagline and asked whether you want to
use this tagline, pick another one, or not append a tagline at all.
Whether this happens or not, you are told that the message was sent
successfully and, after pressing any key, will be returned to the mail
menu.
If you choose to edit your message manually, you are presented with a
dialogue box that shows the address and subject of the letter that you are
about to edit. Press enter or Y if you wish to continue or escape or N to
cancel the operation and return to the mail menu. After editing your
message, you are asked to confirm the sending of your message. Then it is
sent in the same manner as a prewritten message.
Mail Yourself
This command will let you mail a letter to yourself, using the address
that you specified in the configuration menu discussed later in this
manual. THis is useful if you want to test something or if you're really
lonely.
Address Book
The address book is where you edit your email alias list. From here, you
can display, add, and delete aliases.
The D option will display the raw alias file using the built-in pager.
The E option will let you manually edit the file, not recommended unless
you're an advanced Commo or Inet_mac user.
The A option will let you add new aliases. You are first asked for the
Internet in a Macro 1.0 by J.j. Meddaugh and Jeff Bishop Page 8
alias to add. Type it in and press return. Then enter the email address
and optionally a name for reference. It will be added and you will be
returned to the address book menu.
Removing an address is quite simple. Just type in the alias that you
wish to remove and you are asked for confirmation. If you decide to delete
the alias or not, you will be returned to the address book menu.
The I option will allow you to search a file for email addresses and then
decide whether or not you want to add them to the address book. This is
nice if you have a large file with some addresses in it and you don't feel
like recopying them manually. You are asked for a filename and, if it
exists, Inet_mac will search the file for possible addresses. The S option
does a similar task, but the screen is searched for addresses instead of a
file. If it finds one, you are asked whether or not you want to add it.
If you say yes, you are prompted for the alias and the optional name.
Either way, you will eventually cause the program to continue searching for
more addresses until the file has been searched.
Distributing a Message
This option, D from the mail menu, will let you send a message to
multiple addresses at the same time. You are first prompted for the name
of the distribution list file. THis file should contain the addresses that
you want to distribute the message to, one on each line. If you just hit
return, you can manually enter each address. You are prompted for valid
email addresses one per line. This will continue until you hit return on a
line by itself.
After this, the procedure is the same for sending a message. You will
hear a short beep after each copy of the message is sent and will be told
how many addresses the message was sent to at the completion of the
distribution.
Fingering a User
The F option will let you Finger a user. Fingering will let you see
whether or not a user is online, and depending on the site, some other
information. Enter the address that you wish to finger or an email alias
and it will be fingered. Inet_mac will exit after this operation.
Sending a Bug Report
If you have a problem with Inet_mac, this option, B from the message
menu, will let you tell me about it. The procedure is the same as sending
a mail message, except that it will automatically be send to my email
address and a copy of your configuration settings will be appended to the
message. Be sure to use this option instead of the normal send mail option
if you have a bug report to help solve the problem faster.
The IRC Menu
This menu, choice I from the main menu, allows you to connect to various
IRC networks on the Internet. IRC stands for Internet Relay Chat. It
allows realtime chat between thousands of people at the same time.
Internet in a Macro 1.0 by J.j. Meddaugh and Jeff Bishop Page 9
Efnet
The Efnet is the biggest IRC network. There is usually from 5,000-10,000
people using it simultaneously. Selecting E from the IRC menu will connect
you to this network using the address set in the configuration menu
discussed later in this manual. If you don't know any addresses for Efnet
servers, and default addresses in the configuration menu should work. The
message "Connecting to IRC" will appear on the status line and Inet_mac
will attempt to connect. Once connected, you will be put in your default
channel if one is specified in the configuration menu. Your nickname will
also be used as specified in the IRC config menu. If the connection was
unsuccessful, you will be returned to the IRC menu.
Undernet
The Undernet is the second largest IRC network with anywhere from
1,500-5,000 users at one time. The procedure to connect to the Undernet is
identical to connecting to Efnet described above, except for that you go to
Undernet by pressing U from the IRC menu and the Undernet server, as
defined in the IRC config menu, is used.
Other IRC NETWORKS
The O choice works the same as the two choices discussed above except
that you will be connected to any other predefined IRC network as set in
the IRC config menu. One such network is Dalnet, and this network is
preconcfigured for you in the IRC configuration menu.
The Configuration Menu
Inet_mac is quite configurable, and this menu, C from the main menu, will
let you change the over 30 configuration settings in the program.
When selecting a configuration setting to change, you are shown the
current setting and allowed to edit or modify with using Commo's input
editor. You may leave some options blank. However, if you attempt to
leave an option blank that is required, you will not be allowed to. FOr
toggles, selecting the option will turn the item either on or off. If the
sound is turned on, you will here a tone that either goes up or down to
confirm your selection.
General Config
This menu, G from the configuration menu, will let you set a few basic
and necessary configuration settings.
System Prompt
The system prompt is what is displayed to you in Unix when it is waiting
for a command. This is option A from the general config menu.
Email Address
Internet in a Macro 1.0 by J.j. Meddaugh and Jeff Bishop Page 10
Option B asks for your Internet electronic mail address, the address that
other people on the Internet can contact you at. This should be the
address for the account you use Inet_mac with. It should be in the form
user@host.
FTP Command-line
Option C provides compatibility for users who do not have access to the
NCFTP program for FTP. If you do not have a problem using FTP, leave this
option as it is. Otherwise, try changing it to just FTP.
File Config
This section, F from the main configuration menu, will let you change the
default filenames for the support files and choose the directory that
Inet_mac will look for these files in.
Signature File
Choice A is for your signature file. This is a file, usually just a few
lines, that will be appended to all outgoing mail messages as a signature.
Site List File
Option B will let you change the name of the site file. This is the file
that the program uses for the various site menus you define.
Message File
Option C will let you tell Inet_mac the default name of a file for
inclusion in mail messages. You can change this when sending a message
from the mail menu. This option can be left blank for no default
Email Alias File
Option D is for your email alias file. This file contains your email
aliases. They can be used when sending a mail message or fingering a user.
Log File
This is the name of the file that Inet_mac will log your activities on
the net. You may leave this option blank if you do not want a log file
created. It is choice F from the file config menu.
Distribution List
This file is the default distribution list, used when distributing a
message to multiple recipients. You may change this from the distribute
option on the mail menu. It can be changed by pressing F from the file
config menu.
Internet in a Macro 1.0 by J.j. Meddaugh and Jeff Bishop Page 11
Tagline File
Choice G will let you change the name of the file that Inet_mac will use
for taglines. When sending a message, a random line of text will be picked
from this file and used as a tagline.
Inet_mac Directory
You may optionally tell Inet_mac to look for support files in an
alternate directoory other than the Commo home directory, the default. You
may enter the directory in any way that is accepted by DOS including
entering the full path, the path relative to the root directory, and the
path relative to the Commo home directory. It does not matter whether or
not you append a backslash "\" to the directory name, because the program
will do it for you if you don't. After entering the directory name, it
will change what you entered to the full path, including drive, to avoid
errors. This is option H from the file config menu.
External Macro Config
Option M from the configuration menu will let you set up external macros
to go to when Inet_mac successfully connects to a site.
External Macro for FTP
This is the external macro that will be launched upon a successful FTP
connection. It is option F from the external macro config menu.
External Macro for Gopher
Option G is for the external macro to run when you connect to a Gopher
site.
External Macro for Rlogin
Option R is the external macro that you want run when a Rlogin site is
connected to.
External Macro for Telnet
This macro will be run when a site is connected to via Telnet. It is
option T from the external macro config menu.
External Macro for WWW
This macro, W from the external macro config menu, will be run after a
successfull WWW connection to a site has been made.
Internet in a Macro 1.0 by J.j. Meddaugh and Jeff Bishop Page 12
Appendix A: Using Variables in Support Files
Inet_mac allows the use of variables in included messages, signatures, and
taglines. These variables are also available in external macros. All
built-in Commo variables can also be used. The following variables can be
used in external macros only:
addr The address of the site
name The name of the site
type The type of site (FTP, Telnet, etc.)
These variables can be used in the send mail function:
addr The address of the person
name The name of the person
These variables are set by the config routine and can be used anywhere. It
is suggested that you don't change these because the changes won't be saved
unless you instruct Inet_mac to do so:
prompt Your systems prompt
email Your email address
ftp_cmd FTP command-line (usually NCFTP)
sigfile Signature file for messages
sitefile The site database file
msgfile Default included message file
aliasfil Default email alias file
distfile Default distribution list
logfile Name of log file
tagfile Tagline file
inetdir Inet_mac directory for support files
ftp_mac External macro for FTP
goph_mac External macro for Gopher
rlog_mac External macro for Rlogin
teln_mac External macro for Telnet
www_mac External macro for WWW
efnet1 Primary IRC Efnet server
efnet2 Secondary IRC Efnet server
undrnet1 Primary IRC Undernet server
undrnet2 Secondary IRC Undernet server
othernet Other IRC server
ircnick IRC alias
ircchan Channel to join upon starting IRC
sound Sound toggle
rlog8bit 8-bit Rlogin toggle
tagprmpt Confirm tagline prompt
These are some miscelaneous variables that can be used anywhere:
Internet in a Macro 1.0 by J.j. Meddaugh and Jeff Bishop Page 13
iver Version of Inet_mac you are using
Appendix B: Menu Shortcuts
As stated earlier, the main parts of the program have shortcut keys that
allow you to go to certain menus from the terminal screen when the macro
file is loaded. Here is a list of these keys.
CTRL-F1 Site Menu
CTRL-F2 Unix File Commands Menu
CTRL-F3 Mail Functions
CTRL-F4 IRC Menu
CTRL-F5 Configuration Menu
Internet in a Macro 1.0 by J.j. Meddaugh and Jeff Bishop Page 14
OBTAINING NEW VERSIONS OF INET_mac
All new versions of the program, are uploaded to the Commo FTP site at
ordata.com in the /pub/msdos/comm/COMMO directory. The filename will
always start with the characters INET. New versions are also uploaded to
Charlie's Foxhole in Lansing, MI at 517-323-3405, the Global Blind Exchange
(telnet gbx.org), and to CRIS, a division of Concentric Network
Corporation, a nationwide Internet service provider. Finally, new versions
are available on Macronet via file request from Macronet node M1. If you
have no other way to receive updates, please write me and ask to be placed
on my email update list. You will receive new updates when they are
released.
Thanks
I would like to thank Fred Brucker for designing this great
telecommunications program. I'd also like to thank Jeff Bishop who offered
much help in the design of Internet in a Macro. I'd also like to thank
those people who have sent me comments and suggestions about the macro.
They are always appreciated.
Support
If you have a comment, suggestion or bug report for Inet_mac, do one of
the following:
* Subscribe to the Commo Mailing List by sending a message to
listserv@server.nlbbs.com with the message "add commo" in the body.
* Email me at jmeddaug@cris.com.